<template>
	<view class="checkbutton"   v-bind:class="{check:isChecked}">
		<image src="../../../static/img/cart/tick.svg"></image>
    </view>
</template>

<script>
	export default {
		props:{
			isChecked:{
				type:Boolean,
				default:null
			}
	    },
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped>
.checkbutton{
    width: 38rpx;
    height: 38rpx;
    border-radius: 50%;
    border: 2rpx solid #a3a3a5;
    overflow: hidden;
}
.checkbutton image{
    width: 38rpx;
    height: 38rpx;
}
.check{
    background-color: pink;
}
</style>
